package com.bao.work;

/**
 * @author baoye
 * @date 2024-08-07/20:45
 */
public class MyThread extends Thread{
    public MyThread() {
    }

    public MyThread(String name) {
        super(name);
    }

    @Override
    public void run() {
        for (int i=0;i<10;i++){
            System.out.println("我是"+Thread.currentThread().getName());
        }
    }
}
